export const columns = [
    {
        title: '文件名称',
        dataIndex: 'fileName',
        key: 'fileName',
        align:'left',
    },
    {
        title: '文件类型',
        dataIndex: 'fileExtension',
        key: 'fileExtension',
        align:'left',
    },
    {
        title: '大小',
        dataIndex: 'fileSize',
        key: 'fileSize',
        align:'center',
    },
    {
        title: '分片数',
        key: 'chunkNum',
        dataIndex: 'chunkNum',
        align:'center',
    },
    {
        title: '创建时间',
        key: 'createTime',
        dataIndex: 'createTime',
        align:'center',
    },
    {
        title: '操作',
        key: 'action',
        align:'center',
    },
];

export const fileExtensionMapper = {

    "mp4":1,
    "jpg":2,
    "png":2,
    "jpeg":2,
    "xlsx":3,
    "xls":3,
    "docx":4,
    "doc":4,
    "pdf":5
}